﻿namespace CV.Dal.Mongo.Test.Fakes
{
    using CV.Interfaces.Tools;
    using System;
    using System.Collections.Specialized;
    using System.Configuration;

    public class FakeConfigurationWrapper : IConfigurationWrapper
    {
        public ConnectionStringSettingsCollection ConnectionStrings
        {
            get
            {
                var result = new ConnectionStringSettingsCollection();
                result.Add(new ConnectionStringSettings("MongoDB", "mongodb://localhost:27017/CVTool"));
                return result;
            }
        }


        public NameValueCollection AppSettings
        {
            get
            {
                var result = new NameValueCollection();
                result.Add("DBName", "CVToolTest");
                return result;
            }
        }
    }
}
